<include file="public:header" />
<include file="public:left" />
<div >
    <button type="button" class="btn btn-primary" onclick="window.location.href='{:U('SysColumn/addView')}'">添加</button>
    <br>
    <br>
    <table id="sample-table-1" class="table table-striped table-bordered table-hover wrfont14">
        <thead>
        <tr>
            <th>ID</th>
            <th>栏目名称</th>
            <th width="200px">操作</th>
        </tr>
        </thead>
        <tbody>
        <volist name="list" id="val">
            <tr>
                <td>{$val.id}</td>
                <td>{$val.name}</td>
                <td>
                    <a href="{:U('SysColumn/editorView?id='.$val['id'])}" class="btn btn-warning btn-sm">编辑</a>
                    <a href="{:U('SysColumn/delete?id='.$val['id'])}" class="btn btn-danger btn-sm ">删除</a>
                </td>
            </tr>
        </volist>
        </tbody>
    </table>
</div>
<div class="pageList">

</div>
<include file="public:footer" />